package com.ktjy.dao.impl;

import com.ktjy.dao.PetDao;
import com.ktjy.entity.Pet;
import org.springframework.stereotype.Repository;

/**
 * @return 13141
 * 2025/6/19
 * 08:46
 */
@Repository("petDaoMySQL")
public class PetDaoMySQLImpl implements PetDao {
    @Override
    public int insert(Pet pet) {
        // 此处模拟插入数据，简化数据仅为说明问题
        System.out.println("将宠物" + pet.getName()+ "插入到MySQL数据库");
        return 1;
    }
}
